<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <!--<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">-->
  <title>我的简历</title>

  <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
  <link rel="stylesheet" type="text/css" media="all" th:href="@{/css/tyle.css}">
  <link rel="stylesheet" type="text/css" th:href="@{/css/myself.css}">
</head>
<body><!-- ctrl + F9  -->

  <fieldset class="layui-elem-field" style="border-color: #999;margin-left: 20%;
   margin-right:20%">
    <legend>我的简历</legend>
    <div class="layui-field-box">
      
<div class="layui-row" style="background-color: #f8f8f8;padding: 33px;margin-right: 10%">
        <div class="layui-col-xs4">
          <img th:src="'/user/img/'+${id}" class="layui-circle" style="width: 80px;">
        </div>
    <button th:if="${or == 1}" data-method="editmy" class="layui-btn layui-btn-normal layui-btn-sm" style="float: right;">
        <i class="layui-icon"></i>
    </button>
        <div class="layui-col-xs8" th:if="${personal != null}" th:object="${personal}">
          <p style="color: #333; float: left;font-size: 18px" th:text="*{name}"></p>
          <!--<button data-method="editmy" class="layui-btn layui-btn-normal layui-btn-sm" style="float: right;"><i class="layui-icon"></i></button>-->
          <hr class="layui-bg-gray">
          <p style="color: #999;font-size: 14px"><span th:text="*{sex}"></span> |
              <span th:text="*{dateOfBirth}">1997-07</span> | <span th:text="*{country}"></span>
              | <span th:text="*{city}"></span><br>
              <span th:text="*{mobile}"></span> | <span th:text="*{email}"></span></p>
        </div>
 </div>

<hr>
<span class="layui-badge layui-bg-green" id="title">期望实习</span>
<button th:if="${or == 1}" data-method="editexper" class="layui-btn layui-btn-normal layui-btn-sm" style="float: right;">
    <i class="layui-icon"></i></button>
<br>
<div id="content" th:if="${expectation != null}" th:object="${expectation}">
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'期望职位：'+ *{posttion}">期望职位：Java期望</div>
  <div class="layui-col-xs6" id="font" th:text="'期望地点：'+ *{site}">地点：济南市,北京市</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'期望天数：'+*{numberOfDays}+'天/周'">期望天数：5天/周</div>
  <div class="layui-col-xs6" id="font" th:text="'实习月份：'+ *{date0}+ '-' +*{date1}">实习月份：2018.07-2018.09</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'期望日薪：'+ *{salary}+'/天'">期望日薪：¥150/天</div>
  <div class="layui-col-xs6" id="font"th:text="'到岗日期：'+*{asAnInternIn}">到岗日期：2018-07-01</div>
</div>
</div>

<hr>
<span class="layui-badge layui-bg-green" id="title">教育背景</span>
<button th:if="${or == 1}" data-method="editedu" class="layui-btn layui-btn-normal layui-btn-sm" style="float: right;">
    <i class="layui-icon"></i></button>
<br>
<div id="content" th:each="educational: ${educationalList}">
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'学校：'+ ${educational.school}">齐鲁工业大学</div>
  <div class="layui-col-xs6" id="font" th:text="'在校时间：'+ ${educational.inSchoolTime}+'-'+${educational.inSchoolTime1}">2016-2020</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'学历：'+ ${educational.education}">本科</div>
  <div class="layui-col-xs6" id="font" th:text="'专业：'+ ${educational.major}">计算机</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'成绩排名：'+ ${educational.scoreRanking}">前10%</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs12" id="font" th:utext="'主修课程：'+ ${educational.majorCourse}"></div>
</div>
</div>

<hr>
<span class="layui-badge layui-bg-green" id="title">个人经历</span>
<div th:if="${or == 1}" class="layui-btn-group" style="float: right;">
<!--<button class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>-->
<button data-method="editcampus" class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>
<!--<button class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>-->
</div>
<br>
<div id="content" th:each="campus : ${campusList}">
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'活动名称：' + ${campus.c_name}">活动名称：高并发APi系统</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'担任职位：' + ${campus.c_duty}"></div>
</div>
<div class="layui-row">
  <div class="layui-col-xs6" id="font" th:text="'活动时间：'+${campus.c_time}">活动时间：2018.07-2018.09</div>
  <div class="layui-col-xs6" id="font" th:text="'活动地点：'+${campus.c_site}">活动地点：济南市</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs12" id="font" th:utext="'活动描述：'+${campus.c_describe}">活动描述：</div>
</div>
</div>

<hr>
<span class="layui-badge layui-bg-green" id="title">技能爱好</span>
<div th:if="${or == 1}" class="layui-btn-group" style="float: right;">
<!--<button class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>-->
<button data-method="edithobby" class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>
<!--<button class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>-->
</div>
<br>
<div id="content" th:each="skillsHobby :${skillsHobbyList}">
<div class="layui-row">
  <div class="layui-col-xs2" id="font" th:text="${skillsHobby.type}+'：'">专业技能：</div>
  <div class="layui-col-xs10" id="font" th:utext="${skillsHobby.state}+'：'"><br><br>1111</div>
</div>
</div>

<hr>
<span class="layui-badge layui-bg-green" id="title">作品展示</span>
<div th:if="${or == 1}" class="layui-btn-group" style="float: right;">
<!--<button class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>-->
<button data-method="editwork" class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>
<!--<button class="layui-btn layui-btn-normal layui-btn-sm"><i class="layui-icon"></i></button>-->
</div>
<br>
<div id="content" th:each="worksShow : ${worksShowList}">
<div class="layui-row">
  <div class="layui-col-xs2" id="font">作品链接：</div>
  <div class="layui-col-xs10" id="font" th:text="${worksShow.w_link}">zyzpp.com</div>
</div>
<div class="layui-row">
  <div class="layui-col-xs2" id="font">文字说明：</div>
  <div class="layui-col-xs10" id="font" th:utext="${worksShow.w_explain}"><br>1111</div>
</div>
</div>

<hr>
<span class="layui-badge layui-bg-green" id="title">个人评价</span>
<button th:if="${or == 1}" data-method="editself" class="layui-btn layui-btn-normal layui-btn-sm" style="float: right;">
    <i class="layui-icon"></i></button>
<br>
<div id="content">
<div class="layui-row" style="font-size: 14px">
<br>
<blockquote class="layui-elem-quote layui-quote-nm" style="border-color: #999" th:utext="${mySelf!=null} ? ${mySelf.selfEvaluation} : '这家伙很懒~'">
  个人评价
</blockquote>
</div>
</div>
<br>
    </div>
  </fieldset>

  <script th:src="@{/layui/layui.all.js}"></script>
  <script th:src="@{/js/myself.js}"></script>

  </body>
  </html>
